package com.jmx;

import java.util.Date;

import org.springframework.jmx.export.annotation.ManagedOperation;

public class SystemStatusImpl implements SystemStatus {
	@Override
	@ManagedOperation(description="show invoke times of total.")
	public void getInvokeTimesOfTotal(String className, String functionName) {
		
	}
	
	@Override
	@ManagedOperation(description="show invoke times of last minutes.")
	public void getInvokeTimesOfLastMinutes(String className, String functionName, Long minutes) {
        Date date = new Date();
        date.setTime(date.getTime()-3*60*1000);
	}
}
